package p270jp.pxv.android.view;

import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import androidx.appcompat.widget.AppCompatSeekBar;
import p270jp.pxv.android.R;
import p325m0.MutabilityOwnership;

/* compiled from: LiveSeekBar.kt */
/* renamed from: jp.pxv.android.view.LiveSeekBar */
/* loaded from: classes2.dex */
public final class LiveSeekBar extends AppCompatSeekBar {
    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public LiveSeekBar(Context context, AttributeSet attributeSet) {
        super(context, attributeSet, R.attr.seekBarStyle);
        MutabilityOwnership.m3745m(context, "context");
    }

    @Override // androidx.appcompat.widget.AppCompatSeekBar, android.widget.ProgressBar, android.widget.AbsSeekBar, android.view.View
    public void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        if (canvas != null) {
            canvas.save();
            canvas.translate(((float) getPaddingLeft()) - ((float) getThumbOffset()), (float) getPaddingTop());
            getThumb().draw(canvas);
            canvas.restore();
        }
    }
}
